Finding the unloaded geometry#

from fenics_plotly import plot
import pulse
geometry = pulse.HeartGeometry.from_file(pulse.mesh_paths["simple_ellipsoid"])
# geometry = pulse.geometries.prolate_ellipsoid_geometry(mesh_size_factor=3.0)
material = pulse.NeoHookean()
# material = pulse.Guccione()
2023-12-13 16:46:00,782 [625] INFO     pulse.geometry_utils: 
Load mesh from h5
# Parameter for the cardiac boundary conditions
bcs_parameters = pulse.MechanicsProblem.default_bcs_parameters()
bcs_parameters["base_spring"] = 1.0
bcs_parameters["base_bc"] = "fix_x"
# Create the problem
problem = pulse.MechanicsProblem(geometry, material, bcs_parameters=bcs_parameters)
# Suppose geometry is loaded with a pressure of 1 kPa
# and create the unloader
unloader = pulse.FixedPointUnloader(problem=problem, pressure=3.0)
2023-12-13 16:46:00,911 [625] INFO     pulse.unloader: 

-------------------------- Unloading options ---------------------------

	Target pressure: 3.0
	maxiter = 10
	tolerance = 0.0001
	regenerate_fibers (serial only)= False

------------------------------------------------------------------------
# Unload the geometry
unloader.unload()
2023-12-13 16:46:00,916 [625] INFO     pulse.unloader: ------------------------------------------------------------------------
2023-12-13 16:46:00,916 [625] INFO     pulse.unloader: ----------------------------Start unloading-----------------------------
2023-12-13 16:46:00,917 [625] INFO     pulse.unloader: ------------------------------------------------------------------------
2023-12-13 16:46:00,947 [625] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2023-12-13 16:46:00,948 [625] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2023-12-13 16:46:00,948 [625] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2023-12-13 16:46:00,949 [625] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2023-12-13 16:46:01,116 [625] DEBUG    UFL_LEGACY: Blocks of each mode: 
  1	full
2023-12-13 16:46:01,929 [625] INFO     pulse.unloader: 
LV Volume of original geometry = 0.749 ml
2023-12-13 16:46:01,945 [625] INFO     pulse.unloader: 
Do an intial solve
2023-12-13 16:46:02,034 [625] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2023-12-13 16:46:02,034 [625] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2023-12-13 16:46:02,035 [625] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2023-12-13 16:46:02,035 [625] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2023-12-13 16:46:02,036 [625] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2023-12-13 16:46:02,540 [625] DEBUG    UFL_LEGACY: Blocks of each mode: 
  99	full
2023-12-13 16:46:02,614 [625] DEBUG    UFL_LEGACY: Blocks of each mode: 
2023-12-13 16:46:02,819 [625] DEBUG    UFL_LEGACY: Blocks of each mode: 
  18	full
2023-12-13 16:46:41,684 [625] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2023-12-13 16:46:41,684 [625] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2023-12-13 16:46:41,685 [625] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2023-12-13 16:46:41,686 [625] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2023-12-13 16:46:41,686 [625] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2023-12-13 16:46:41,871 [625] DEBUG    UFL_LEGACY: Blocks of each mode: 
  10	full
2023-12-13 16:46:41,946 [625] DEBUG    UFL_LEGACY: Blocks of each mode: 
  3	full
2023-12-13 16:46:42,135 [625] DEBUG    UFL_LEGACY: Blocks of each mode: 
  3	full
2023-12-13 16:46:45,585 [625] INFO     pulse.unloader: 
Iteration: 0
2023-12-13 16:46:49,152 [625] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/quadrature/quadraturerepresentation.py:58: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
  Ignoring precision in integral metadata compiled using quadrature representation. Not implemented.
2023-12-13 16:46:49,193 [625] WARNING  FFC:   Ignoring precision in integral metadata compiled using quadrature representation. Not implemented.
2023-12-13 16:46:53,431 [625] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-12-13 16:46:53,435 [625] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/quadrature/quadraturerepresentation.py:58: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
  Ignoring precision in integral metadata compiled using quadrature representation. Not implemented.
2023-12-13 16:46:53,479 [625] WARNING  FFC:   Ignoring precision in integral metadata compiled using quadrature representation. Not implemented.
2023-12-13 16:46:53,876 [625] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-12-13 16:46:53,919 [625] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-12-13 16:46:53,920 [625] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-12-13 16:46:53,961 [625] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-12-13 16:46:53,962 [625] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-12-13 16:46:53,999 [625] INFO     pulse.unloading_utils: 
LV Volume of original geometry = 0.568 ml
2023-12-13 16:46:54,150 [625] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2023-12-13 16:46:54,151 [625] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2023-12-13 16:46:54,151 [625] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2023-12-13 16:46:54,152 [625] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2023-12-13 16:46:54,153 [625] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2023-12-13 16:46:54,446 [625] DEBUG    UFL_LEGACY: Blocks of each mode: 
  99	full
2023-12-13 16:46:54,520 [625] DEBUG    UFL_LEGACY: Blocks of each mode: 
2023-12-13 16:46:54,725 [625] DEBUG    UFL_LEGACY: Blocks of each mode: 
  18	full
2023-12-13 16:47:33,215 [625] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2023-12-13 16:47:33,216 [625] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2023-12-13 16:47:33,216 [625] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2023-12-13 16:47:33,217 [625] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2023-12-13 16:47:33,217 [625] INFO     UFL_LEGACY: Adjusting missing element cell to tetrahedron.
2023-12-13 16:47:33,357 [625] DEBUG    UFL_LEGACY: Blocks of each mode: 
  10	full
2023-12-13 16:47:33,431 [625] DEBUG    UFL_LEGACY: Blocks of each mode: 
  3	full
2023-12-13 16:47:33,620 [625] DEBUG    UFL_LEGACY: Blocks of each mode: 
  3	full
2023-12-13 16:47:37,078 [625] INFO     pulse.unloading_utils: 
LV Volume of inflated geometry = 0.568 ml
2023-12-13 16:47:37,253 [625] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-12-13 16:47:37,254 [625] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-12-13 16:47:37,296 [625] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-12-13 16:47:37,297 [625] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-12-13 16:47:37,339 [625] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-12-13 16:47:37,340 [625] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-12-13 16:47:37,378 [625] INFO     pulse.unloading_utils: 
LV Volume of new reference geometry = 0.717 ml
2023-12-13 16:47:37,390 [625] INFO     pulse.unloader: 
Residual:	0.011328623428538017
2023-12-13 16:47:37,391 [625] INFO     pulse.unloader: 
Iteration: 1
2023-12-13 16:47:37,563 [625] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-12-13 16:47:37,564 [625] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-12-13 16:47:37,606 [625] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-12-13 16:47:37,607 [625] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-12-13 16:47:37,647 [625] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-12-13 16:47:37,649 [625] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-12-13 16:47:37,686 [625] INFO     pulse.unloading_utils: 
LV Volume of original geometry = 0.596 ml
2023-12-13 16:47:40,712 [625] INFO     pulse.unloading_utils: 
LV Volume of inflated geometry = 0.596 ml
2023-12-13 16:47:40,884 [625] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-12-13 16:47:40,885 [625] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-12-13 16:47:40,927 [625] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-12-13 16:47:40,928 [625] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-12-13 16:47:40,969 [625] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-12-13 16:47:40,970 [625] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-12-13 16:47:41,008 [625] INFO     pulse.unloading_utils: 
LV Volume of new reference geometry = 0.754 ml
2023-12-13 16:47:41,020 [625] INFO     pulse.unloader: 
Residual:	0.001698010214540199
2023-12-13 16:47:41,020 [625] INFO     pulse.unloader: 
Iteration: 2
2023-12-13 16:47:41,195 [625] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-12-13 16:47:41,196 [625] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-12-13 16:47:41,238 [625] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-12-13 16:47:41,239 [625] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-12-13 16:47:41,280 [625] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-12-13 16:47:41,281 [625] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-12-13 16:47:41,318 [625] INFO     pulse.unloading_utils: 
LV Volume of original geometry = 0.592 ml
2023-12-13 16:47:44,343 [625] INFO     pulse.unloading_utils: 
LV Volume of inflated geometry = 0.592 ml
2023-12-13 16:47:44,514 [625] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-12-13 16:47:44,516 [625] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-12-13 16:47:44,557 [625] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-12-13 16:47:44,558 [625] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-12-13 16:47:44,601 [625] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-12-13 16:47:44,602 [625] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-12-13 16:47:44,639 [625] INFO     pulse.unloading_utils: 
LV Volume of new reference geometry = 0.749 ml
2023-12-13 16:47:44,651 [625] INFO     pulse.unloader: 
Residual:	0.0002592876931300245
2023-12-13 16:47:44,651 [625] INFO     pulse.unloader: 
Iteration: 3
2023-12-13 16:47:44,823 [625] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-12-13 16:47:44,824 [625] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-12-13 16:47:44,866 [625] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-12-13 16:47:44,867 [625] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-12-13 16:47:44,908 [625] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-12-13 16:47:44,910 [625] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-12-13 16:47:44,947 [625] INFO     pulse.unloading_utils: 
LV Volume of original geometry = 0.593 ml
2023-12-13 16:47:47,977 [625] INFO     pulse.unloading_utils: 
LV Volume of inflated geometry = 0.593 ml
2023-12-13 16:47:48,150 [625] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-12-13 16:47:48,151 [625] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-12-13 16:47:48,193 [625] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-12-13 16:47:48,194 [625] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-12-13 16:47:48,237 [625] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-12-13 16:47:48,238 [625] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-12-13 16:47:48,276 [625] INFO     pulse.unloading_utils: 
LV Volume of new reference geometry = 0.750 ml
2023-12-13 16:47:48,288 [625] INFO     pulse.unloader: 
Residual:	3.931304295917144e-05
2023-12-13 16:47:48,288 [625] INFO     pulse.unloader: ########################################################################
Unloading suceeding
# Get the unloaded geometry
unloaded_geometry = unloader.unloaded_geometry
2023-12-13 16:47:48,465 [625] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-12-13 16:47:48,466 [625] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-12-13 16:47:48,507 [625] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-12-13 16:47:48,509 [625] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-12-13 16:47:48,550 [625] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
2023-12-13 16:47:48,552 [625] WARNING  py.warnings: /usr/lib/python3/dist-packages/ffc/jitcompiler.py:234: QuadratureRepresentationDeprecationWarning:


*** ===================================================== ***
*** FFC: quadrature representation is deprecated! It will ***
*** likely be removed in 2018.2.0 release. Use uflacs     ***
*** representation instead.                               ***
*** ===================================================== ***
fig = plot(geometry.mesh, opacity=0.0, show=False)
fig.add_plot(plot(unloaded_geometry.mesh, color="red", show=False))
fig.show()